package com.itboye.sunsun.utils;
/**
 * @paner 防止用户连续点击按钮，直接调用
 * @author Gooraye
 *
 */
public class Utils {
	 private static long lastClickTime;
	    public synchronized static boolean isFastClick() {
	        long time = System.currentTimeMillis();   
	        if ( time - lastClickTime < 500) {   
	            return true;   
	        }   
	        lastClickTime = time;   
	        return false;   
	    }
}
